name = "admin"
pwd = 123456
while True:
    name_1 = input("请输入用户名")
    if name_1 == "exit":
        print("退出登录")
        break
    pwd_1 = int(input("请输入密码"))

    if name == name_1 and pwd == pwd_1:
        print("登录成功！")
        break
    elif name != name_1 or pwd != pwd_1:
        print("用户名或密码错误！")
        print("请重新输入用户名和密码")

